package com.cs2.volunteerpostbackend.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cs2.volunteerpostbackend.po.Comment;
import com.cs2.volunteerpostbackend.web.vo.comment.CommentByPage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository

public interface CommentMapper extends BaseMapper<Comment> {
    List<CommentByPage> getCommentPage(String momentId, int page, int size);
}
